Section Two Thousand and Fourteen. An affidavit taken in a foreign country to be used in this State, may be taken before an Embassador, Minister, Consul, Vice Consul, or Consular Agent of the United States, or before any Judge of a Court of record having a seal in such foreign country.